$OpenBSD: patch-source_shared_lib_sources_platform_posix_socket_cpp,v 1.3 2015/04/06 12:49:52 stsp Exp $
--- source/shared_lib/sources/platform/posix/socket.cpp.orig	Mon Mar  9 00:09:09 2015
+++ source/shared_lib/sources/platform/posix/socket.cpp	Mon Apr  6 09:51:53 2015
@@ -317,7 +317,7 @@ string Ip::getString() const{
 //	class Socket
 // ===============================================
 
-#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(BSD) || defined(__APPLE__) || defined(__linux__)
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(BSD) || defined(__APPLE__) || defined(__linux__) || defined(__OpenBSD__)
 # define USE_GETIFADDRS 1
 # include <ifaddrs.h>
 #endif
